package fr.cie.blog.beans;

/**
 * An interface to implements for every elements which contain an id and a name.
 * 
 * @author Jee3
 */
public interface IModel {

	/**
	 * @return the id
	 */
	long getId();

	/**
	 * @return the name
	 */
	String getName();

	/**
	 * @param identifier
	 *            the id to set.
	 */
	void setId(long identifier);

	/**
	 * @param name
	 *            the name to set.
	 */
	void setName(String name);

	/**
	 * @return the string
	 */
	@Override
	String toString();
}